package io.datajek.springbasics.movierecommendersystem.lesson1;


public class RecommenderImplementation {
    public String[] recommendMovies(String movie)
    {
        //使用基于内用的过滤器来寻找相似的电影
        ContentBasedFilter filter = new ContentBasedFilter();
        String[] results =filter.getRecommendations("Finding Dory");
       // System.out.println(Arrays.toString(results));
        //返回结果
        return results;
//        return new String[]{"M1","M2","M3"};
    }


}
